﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SmartMusicBox.Model;
using System.Collections.ObjectModel;

namespace SmartMusicBox.Logic
{
    public class TileLogic
    {
        public static ObservableCollection<TileModel> GetTiles(ObservableCollection<ChannelModel> channels)
        {
            var tiles = new ObservableCollection<TileModel>();
            foreach (var channel in channels)
            {
                tiles.Add(new TileModel { ChannelNo = channel.ChannelNo.ToString(), ChannelName = channel.ChannelName, SongInfo = "initializing..." });
            }

            return tiles;
        }
    }
}
